package com.qcby.service.impl;
import com.qcby.dao.RecommendationDao;
import com.qcby.entity.Shop;
import com.qcby.service.RecommendationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RecommendationServiceImpl implements RecommendationService {
    @Autowired
    private RecommendationDao recommendationDao;

    @Override
    public List<Shop> findShopById(Integer id) {
        return recommendationDao.findShopById(id);
    }

    @Override
    public List<Shop> findShopByIds(List<Integer> ids) {
        return recommendationDao.findShopByIds(ids);
    }
}
